package org.example.service;


import org.example.model.vo.RoleVo;
import org.example.util.Result;
import org.springframework.stereotype.Service;

@Service
public interface RoleService {
    Result addRole(String token, RoleVo roleVo);
    Result editRole(String token, RoleVo roleVo);

    Result getPageRole( int page, int size, RoleVo roleVo);

    Result getRoleAndMenu(Integer page, Integer size, RoleVo roleVo);

    Result switchStatusById(Long id, Long status);
    Result deleteById(Long id);

    Result getRoleCount();
}
